package com.zb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2023/10/12 0012
 **/
@Data
@ApiModel("公众字段列表对象")
public class FieldListVo {
    @ApiModelProperty(value = "字段名称")
    private String name;

    @ApiModelProperty(value = "字段类型：1-文本，2-多行文本，3-单选，4-多选，5-多图，6-附件，7-视频，8-评分")
    private Integer type;

    @ApiModelProperty(value = "图片、附件、视频上传尺寸大小，单位：M")
    private Integer uploadSize;

    @ApiModelProperty(value = "上传数量，最多可上传10张")
    private Integer uploadQty;

    @ApiModelProperty(value = "字段提示")
    private String tip;

    @ApiModelProperty(value = "是否必填：false-不必填，true-必填")
    private Boolean required;

    @ApiModelProperty(value = "字段状态：false-启用，true-禁用")
    private Boolean status;
}
